How can I set all variables in a PowerShell function to Script scope without individual labeling

welcome to shbcf.ru